package tongpeifu;

import tongpeifu.domain.Animal;

import java.util.List;

/**
 * Created by 4790K_NSL on 2017/4/7.
 */
public class AnimalTrainer {
    public void act(List<Animal> list) {
        for (Animal animal : list) {
            animal.eat();
        }
    }
}
